package com.paipai.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Date;

@FeignClient(name="com-service-seller")
public interface RoundFeign {
    @RequestMapping("/round/publish")
    String publish(@RequestParam("productId") Long productId,@RequestParam("deposit") String deposit,@RequestParam("startPrice") String startPrice,@RequestParam("stepPrice") String stepPrice,@RequestParam("duration") String duration,@RequestParam("startTime") Date startTime);
}
